//链接传值获取
function getQueryString(name){
    var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if(r!=null)return  unescape(r[2]); return null;
}

window.onload=function(){
    var href = window.location.pathname;
    console.log(href)
    saveLocalStorage('curr_href',href);

   /* //设置qss_nav的left
    var width = $(document).width();
    var container_left = (width-890)/2;
    $('.qss-box .fixed-nav').css('left',container_left+900);*/
}